//
//  SCCourse.swift
//  scfriend
//
//  Created by wulanzhou on 2017/7/21.
//  Copyright © 2017年 wulanzhou. All rights reserved.
//

import UIKit
import SwiftyJSON

class SCCourse: NSObject {
    
    var active_flag:String?
    var class_subject_id:String?
    var icon:String?
    var name:String?
    var owner:String?
    var score:String? //代表这个科目的分数
    var status:String?
    var subject_id:String?
    
    func mapper(map:Dictionary<String, JSON>)  {
    
       self.active_flag = map["active_flag"]?.rawString()
       self.class_subject_id = map["class_subject_id"]?.rawString()
       self.icon = map["icon"]?.rawString()
       self.name = map["name"]?.rawString()
       self.owner = map["owner"]?.rawString()
       self.score = map["score"]?.rawString()
       self.status = map["status"]?.rawString()
       self.subject_id = map["subject_id"]?.rawString()

    }

}
